import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Color;

/**
 * Class Letrero
 * @author (Santos Miranda Luis Gerardo) 
 * @author (Lopez Rangel Arturo)
 */
public class Letrero extends Actor
{
    private String texto;//Variable que muestra el texto del letrero

    /**
     * Class constructor Signage
     */
    public Letrero(String unaCadena)
    {
        texto = unaCadena;
    }

    /**
     * Method signboard class act
     */
    public void act() 
    {
        super.setImage(new GreenfootImage ("        " + texto, 25, Color.WHITE, null));
    }    
}
